using Bootstrap.Models;
using Bootstrap.Services;

namespace Bootstrap.Variables
{
	public class GridRowWidth768 : IBootstrapVariable, IBootstrapDefaults {
		public void Describe(VariableDescriptionContext context) {
			context
				.Describe(
					"gridRowWidth768",
					variable =>
					variable
						.WithSection(VariableSections.Default940PxGrid, 991));
		}
		public int Priority { get { return 0; } }

		public void Define(BootstrapDefaultSettingsContext context) {
			context.Variable("gridRowWidth768", var => var.WithValue("(@gridColumns * @gridColumnWidth768) + (@gridGutterWidth768 * (@gridColumns - 1))"));
		}		
	}
}